package com.xiaoshuidi.cloud.module.report.convert.finance;

import com.xiaoshuidi.cloud.module.report.controller.finance.vo.ContractDetailsRespVO;
import com.xiaoshuidi.cloud.module.report.controller.finance.vo.DetailIncomeExportRespVO;
import com.xiaoshuidi.cloud.module.report.controller.finance.vo.DetailIncomePageRespVO;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.IncomeDetailDayReportDO;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.IncomeDetailReportDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 权责收入 转换类
 */
@Mapper
public interface IncomeDetailConvert {

    IncomeDetailConvert INSTANCE = Mappers.getMapper(IncomeDetailConvert.class);

    List<DetailIncomePageRespVO> convertDetailIncomePage(List<IncomeDetailReportDO> incomeDetailReportDOS);

    List<ContractDetailsRespVO> convertDetailForContract(List<IncomeDetailReportDO> incomeDetailReportDOS);

    List<DetailIncomeExportRespVO> convertDetailForExport(List<IncomeDetailReportDO> incomeDetailReportDOS);

    IncomeDetailReportDO convertDetailDay2Month(IncomeDetailDayReportDO detailDay);


}
